package vip.websky.project.web.boot;


import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.InitializingBean;
import org.springframework.stereotype.Component;

/**
 * 项目启动后执行
 *
 * @createAt: 2017/8/12 10:14
 */
@Slf4j
@Component
public class MyInitializingBean implements InitializingBean {
    @Override
    public void afterPropertiesSet() throws Exception {
        log.info("进入[MyInitializingBean.afterPropertiesSet]方法");
        ListerInit.init();
    }
}
